package com.dffl.es.esstudy.dao;

import com.dffl.es.esstudy.model.TSku;
import com.dffl.es.esstudy.model.TSkuExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TSkuMapper {
    int countByExample(TSkuExample example);

    int deleteByExample(TSkuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TSku record);

    int insertSelective(TSku record);

    List<TSku> selectByExample(TSkuExample example);

    TSku selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TSku record, @Param("example") TSkuExample example);

    int updateByExample(@Param("record") TSku record, @Param("example") TSkuExample example);

    int updateByPrimaryKeySelective(TSku record);

    int updateByPrimaryKey(TSku record);

    List<TSku> select(TSku tSku);
}
